View Issue Details

IDProjectCategoryView StatusLast Update
0000915T99X171.00 SKB EagleSW Issuepublic2020-10-22 18:19
Reporter(ALTech) Jason ParkAssigned To(ALTech) Jason ParkDue Date
PrioritynormalSeveritys2-severeReproducibilityhave not tried
Status closedResolutionnot a bug 
Summary0000915: [BFX_AT100] Could it can modify to disable for idle timeout in STB side ?
Descriptionhi kerwin

I receive some question from SKB rcu manager.

after connecting BT, if don't do anythinkg for RCU during 18Hours , it is unpaired via idle timeout (default 18h) of BT stack.
so Could it can modify to disable for idle timeout in STB side ?
if modify it, let me know whether if it is related to CTS fail item.

Thanks
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

(SW) Kerwin Chen

2020-09-07 20:44

developer   ~0004257

Hi Jason,

RCU should not be unpaired after idle timeout, usually STB disconnects with RCU.
Idle timeout is used to recover BLE connection and save power if peer doesn't response within a period.
More, even idle timeout is disabled on STB side, RCU still has its own idle timeout mechanism.
Hence, connection will also be disconnected.
Thanks !

(ALTech) Jason Park

2020-09-08 10:41

developer   ~0004261

Last edited: 2020-09-09 14:09

HI Jason.

skb manager ask whether if it is related to CTS fail if disable for idle timeout.

Thanks.

(ALTech) Jason Park

2020-09-09 14:38

developer   ~0004275

HI Kerwin

per talk to you, intek try to do for disable idle time out as below.

the function in an attached image is located in stack/I2cap/i2c_utils.cc


as below , it is modified.
if (start_timeout)
If (start_timeout && timeout_ms != (0xffff * 1000))
idleTimeout.JPG (48,897 bytes)   
idleTimeout.JPG (48,897 bytes)   

(ALTech) Jason Park

2020-09-10 17:07

developer   ~0004298

HI Kerwin

if you apply it, please give a target date.

Thanks.

(SW) Kerwin Chen

2020-09-10 19:09

developer   ~0004301

Hi Jason,

In order to have same behavior on Smart3, please give more detailed about the modification.

Thanks !

(ALTech) Jason Park

2020-09-14 11:02

developer   ~0004323

hi kerwin

we receive some information from Intek.
they apply it on AI2 Box. so we don't have a modified point on Smart3.

Thanks.

(SW) Kerwin Chen

2020-09-14 14:04

developer   ~0004325

Hi Jason,

Per talked, Intek's patch works on Android P.
However, Google has released a patch to check L2CAP timeout for fixed BLE channel on Android Q.
(https://android.googlesource.com/platform/system/bt/+/fadc6b9b0280d7db277f666fd0f9d2602a7e08f4%5E%21/#F1)

We are going to migrate to Android Q for Smart3 box.
As a result, we don't need to apply Intek's patch on Android Q.
Thanks !

(ALTech) Jason Park

2020-10-22 18:19

developer   ~0004712

hi kerwin

this issue is closed

Issue History

Date Modified Username Field Change
2020-09-07 18:42 (ALTech) Jason Park New Issue
2020-09-07 18:42 (ALTech) Jason Park Assigned To => (SW) Kerwin Chen
2020-09-07 18:42 (ALTech) Jason Park Status new => assigned
2020-09-07 20:44 (SW) Kerwin Chen Note Added: 0004257
2020-09-07 20:44 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (ALTech) Jason Park
2020-09-07 20:44 (SW) Kerwin Chen Status assigned => feedback
2020-09-08 10:41 (ALTech) Jason Park Note Added: 0004261
2020-09-08 10:41 (ALTech) Jason Park Assigned To (ALTech) Jason Park => (SW) Jason Ling
2020-09-08 10:41 (ALTech) Jason Park Status feedback => assigned
2020-09-09 14:09 (ALTech) Jason Park Note Edited: 0004261
2020-09-09 14:38 (ALTech) Jason Park File Added: idleTimeout.JPG
2020-09-09 14:38 (ALTech) Jason Park Note Added: 0004275
2020-09-10 17:07 (ALTech) Jason Park Note Added: 0004298
2020-09-10 19:09 (SW) Kerwin Chen Note Added: 0004301
2020-09-14 11:02 (ALTech) Jason Park Note Added: 0004323
2020-09-14 14:04 (SW) Kerwin Chen Assigned To (SW) Jason Ling => (ALTech) Jason Park
2020-09-14 14:04 (SW) Kerwin Chen Status assigned => resolved
2020-09-14 14:04 (SW) Kerwin Chen Resolution open => not a bug
2020-09-14 14:04 (SW) Kerwin Chen Note Added: 0004325
2020-10-22 18:19 (ALTech) Jason Park Note Added: 0004712
2020-10-22 18:19 (ALTech) Jason Park Status resolved => closed